package com.leyou.Interface;

import com.leyou.advice.CommonExceptionAdvice;
import com.leyou.advice.CommonLogAdvice;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author jshstart
 * @creat 2020-12-08 21:21
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({CommonExceptionAdvice.class, CommonLogAdvice.class})
public @interface EnableExceptionAdvice {
}
